package queue

type Queue [] interface{}

func (q *Queue) Push(v int)  {
	*q = append(*q,v)
}

func (q *Queue) Pop() int {
	//if q.IsEmpty() {
	//	return 0
	//}
	head := (*q)[0]
	*q  = (*q)[1:]
	return head.(int)
}

func(q *Queue) IsEmpty()  bool{
	 return len(*q) == 0
	
}